#ifndef JOY_CONTROL_H
#define JOY_CONTROL_H
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/Joy.h>


class Joy_control
{
public:
    Joy_control();
//public://ros
private:
    void callback_joy(const sensor_msgs::Joy::ConstPtr& joy_receive);
    ros::NodeHandle n;
    ros::Subscriber joy_subscriber;
    ros::Publisher joy_control_pub;
    geometry_msgs::Twist joy_transform;
};

#endif // JOY_CONTROL_H
